package com.ruoyi.common.utils;

import java.util.HashMap;
import java.util.Map;

public class ClusterNode {

    public static final String NODE_MG="mg";
    public static final String NODE_TG="tg";
    public static final String NODE_CG="cg";
    public static final String NODE_DG="dg";

    public static final String NODE_MASER = "master";
    public static final String NODE_NORMAL = "normal";
    public static final String NODE_BACKUP = "back";

    public static final String NODE_DG_DATA = "kw_data";



    public static final Map<String,String> NODE_TYPE_CONVERT=new HashMap(){{
        put(NODE_MG,"manEng");
        put(NODE_TG,"transEng");
        put(NODE_CG,"calEng");
        put(NODE_DG,"datEng");
    }};

}
